package zut.edu.cs.network.io;

import java.io.Serializable;

public class Person implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 5493286787182095219L;
	
	public String name;
//	用transient修饰的age将不参与数据流的传输
	transient public int age; 
	public static String country;
	
	public Person() {
		
	}
	
	public Person(String name, int age) {
		super();
		this.name = name;
		this.age = age;
	}

	@Override
	public String toString() {
		return "Person [name=" + name + ", age=" + age + ",country="+country+"]";
	}

}
